<?php

/**
 *
 * @todo : Controller Admin_ErrorsController
 *
 *
 */
class Admin_ErrorController extends Zend_Controller_Action
{
    
    public function init()
    {
    	parent::init();

        // remove all CSS,JS
        $this->view->headLink()->setContainer(new Zend_View_Helper_Placeholder_Container());

        // Handling Previously Rendered Output
        $this->getResponse()->clearBody();

        // Set Layout
        $this->_helper->layout->setLayout('error');
    }
    
    /**
     * @todo Redirect to login page
     * @return void
     */
    public function restrictedAction()
    {
    }

}
